import VueRouter from "vue-router";
import Vue from 'vue';
import LoginApp from "@/page/LoginApp.vue";
import HomePage from "@/page/HomePage.vue";
import PageNotFound from "@/page/PageNotFound.vue";
import StudyPath2 from "@/page/StudyPath2.vue";
// import StaticNav from "@/page/StaticNav.vue";
Vue.use(VueRouter)

const router = new VueRouter({
  routes: [
    {
      path: '/login',
      component: LoginApp,
      hidden: true
    },
    {
      path: '/home',
      component: HomePage,
    },
    {
      path: '/',
      redirect:'/home'
    },
    {
      path: '/study',
      component: StudyPath2,
    },
    {
      path:'*',
      component: PageNotFound,
    }
  ]
})

export default router